package com.online.dao;

import com.online.entity.Paper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PaperMapper {

    int insertARecord(Paper paper);

    List<Integer> selectQuestionId(@Param("examId") Integer examId, @Param("questionType") Integer questionType);

    int deleteARecord(int examId);

    List<Paper> showARecord(Integer examId);

    Paper showRecord(@Param("studentNumber") String studentNumber,@Param("questionType") Integer questionType,@Param("examId") Integer examId,@Param("questionENumber")Integer questionENumber);
}
